﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace webapi.views
{
  public partial class admin : System.Web.UI.Page
  {
    protected string user_id = "123456";
    protected void Page_Load(object sender, EventArgs e)
    {
      try
      {
        //获取user_id
        user_id = Request.Cookies["user_id"].Value;

        //页面初始化
        //this.init(user_id);
      }
      catch
      {
        Response.Redirect("login.aspx");
      }
    }

    protected void logout_Click(object sender, EventArgs e)
    {
      Response.Redirect("login.aspx");
    }
  }
}